Q3DirectionalLight_GetCastShadowsState
You can use theQ3DirectionalLight_GetCastShadowsState
function to get the shadow-casting state of a directional light.
TQ3Status Q3DirectionalLight_GetCastShadowsState ( TQ3LightObject light, TQ3Boolean *castsShadows);
light
- A directional light object.
castsShadows
- On exit, a Boolean value that indicates whether the specified light casts shadows (
kQ3True
) or does not cast shadows (kQ3False
).DESCRIPTION
TheQ3DirectionalLight_GetCastShadowsState
function returns, in thecastsShadows
parameter, a Boolean value that indicates whether the light specified by thelight
parameter casts shadows (kQ3True
) or does not cast shadows (kQ3False
).